package com.kanq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kanq.pojo.entity.Qdrant;
import io.qdrant.client.grpc.Points;

import java.util.List;

public interface QdrantService extends IService<Qdrant> {
    void insertVectorInString(Long id, String s, long fileId, String filename);

    float[] getEmbedding(String content);

    List<Points.ScoredPoint> searchVector(float[] vector, int i);

    List<Points.ScoredPoint> searchVector(float[] embedding, int topK, List<Long> chunkIds);
}
